package io.renren.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.utils.Query;

import io.renren.dao.SysReturnGoodsOperationDao;
import io.renren.entity.SysReturnGoodsOperationEntity;
import io.renren.service.SysReturnGoodsOperationService;


@Service("sysReturnGoodsOperationService")
public class SysReturnGoodsOperationServiceImpl extends ServiceImpl<SysReturnGoodsOperationDao, SysReturnGoodsOperationEntity> implements SysReturnGoodsOperationService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SysReturnGoodsOperationEntity> page = this.page(
                new Query<SysReturnGoodsOperationEntity>().getPage(params),
                new QueryWrapper<SysReturnGoodsOperationEntity>()
        );

        return new PageUtils(page);
    }

}
